/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.antrom.devlo;

import java.util.List;

/**
 *
 * @author E078095L
 */
public class Projet {

    List<Ressources> listeRessources;
    int codeProjet;
    String nomProjet;

    public Projet(List<Ressources> listeRess) {
        listeRessources = listeRess;
    }

    public Projet() {
        listeRessources = null;
    }

    public boolean contains(Ressources res) {
        return this.listeRessources.contains(res);
    }

    public void add(Ressources res) {
        this.listeRessources.add(res);
    }

    public void remove(Ressources res) {
        this.listeRessources.remove(res);
    }
}
